
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>编辑协同 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="wen-dang-gui-fan.html" />
    
    
    <link rel="prev" href="./" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    文档说明
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2" data-path="bian-ji-xie-tong.html">
            
                <a href="bian-ji-xie-tong.html">
            
                    
                    编辑协同
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="wen-dang-gui-fan.html">
            
                <a href="wen-dang-gui-fan.html">
            
                    
                    文档规范
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="xu-qiu-fan-4f8b-ke-hu-duan.html">
            
                <a href="xu-qiu-fan-4f8b-ke-hu-duan.html">
            
                    
                    需求范例-客户端
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="xu-qiu-fan-4f8b-fu-wu-duan.html">
            
                <a href="xu-qiu-fan-4f8b-fu-wu-duan.html">
            
                    
                    需求范例-服务端
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="zi-jian-biao.html">
            
                <a href="zi-jian-biao.html">
            
                    
                    自检表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="xu-qiu-fan-wei.html">
            
                <a href="xu-qiu-fan-wei.html">
            
                    
                    需求范围
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="xiang-mu-xin-xi.html">
            
                <a href="xiang-mu-xin-xi.html">
            
                    
                    项目信息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="mai-dian.html">
            
                <a href="mai-dian.html">
            
                    
                    数据埋点
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >编辑协同</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x6587;&#x6863;&#x57FA;&#x7840;">&#x6587;&#x6863;&#x57FA;&#x7840; </h1>
<hr>
<p>&#x5982;&#x9700;&#x534F;&#x540C;&#x7F16;&#x8F91;&#xFF0C;&#x9700;&#x8981;&#x4E86;&#x89E3;GitHub&#x3001;Gitbook&#x3001;Markdown&#x7684;&#x57FA;&#x7840;&#x77E5;&#x8BC6;&#xFF0C;&#x53EF;&#x901A;&#x8FC7;&#x4EE5;&#x4E0B;&#x6587;&#x6863;&#x5B66;&#x4E60;&#x3002;</p>
<ul>
<li><a href="http://wowubuntu.com/markdown/" target="_blank">Markdown &#x8BED;&#x6CD5;&#x8BF4;&#x660E;</a></li>
<li><a href="http://www.jianshu.com/p/q81RER" target="_blank">&#x732E;&#x7ED9;&#x5199;&#x4F5C;&#x8005;&#x7684;Markdown&#x65B0;&#x624B;&#x6307;&#x5357;</a></li>
<li><a href="http://172.31.38.130/Project/_book/bian-ji-shuo-ming.html#" target="_blank">git&#x7B80;&#x660E;&#x6307;&#x5357;</a></li>
<li><a href="http://www.chengweiyang.cn/gitbook/basic-usage/README.html" target="_blank">GitBook&#x7B80;&#x660E;&#x6559;&#x7A0B;</a></li>
<li><a href="https://tonydeng.github.io/gitbook-zh/gitbook-howtouse/" target="_blank">GitBook&#x4F7F;&#x7528;&#x5165;&#x95E8;</a></li>
</ul>
<p>&#x8FDB;&#x884C;&#x6587;&#x6863;&#x534F;&#x540C;&#x65F6;&#xFF0C;&#x9700;&#x8981;&#x5728;OA&#x4E0A;&#x7533;&#x8BF7;techgit&#x8D26;&#x53F7;&#xFF1A;</p>
<ul>
<li>&#x767B;&#x9646;OA</li>
<li>&#x6D41;&#x7A0B;&#x529E;&#x7406;</li>
<li>&#x5176;&#x4ED6;&#x6D41;&#x7A0B;</li>
<li>techgit&#x8D26;&#x53F7;</li>
</ul>
<h1 id="&#x534F;&#x540C;&#x65B9;&#x6CD5;&#x4E00;&#xFF08;&#x7B80;&#x5355;&#x65B9;&#x6CD5;&#x63A8;&#x8350;&#xFF09;">&#x534F;&#x540C;&#x65B9;&#x6CD5;&#x4E00;&#xFF08;&#x7B80;&#x5355;&#x65B9;&#x6CD5;&#x63A8;&#x8350;&#xFF09; </h1>
<hr>
<h4 id="&#x6587;&#x6863;&#x62C9;&#x53D6;">&#x6587;&#x6863;&#x62C9;&#x53D6; </h4>
<ul>
<li>&#x4E0B;&#x8F7D;Github&#x5BA2;&#x6237;&#x7AEF;&#xFF1A;
<a href="https://desktop.github.com/" target="_blank">https://desktop.github.com</a></li>
<li>&#x70B9;&#x51FB;clone Repository</li>
<li>&#x586B;&#x5199;URL&#xFF1A;
<a href="http://techgit.meitu.com/meios-bro/prd.git" target="_blank">http://techgit.meitu.com/meios-bro/prd.git</a>
&#xFF0C;&#x5E76;&#x8BBE;&#x7F6E;&#x597D;&#x5B58;&#x653E;&#x672C;&#x5730;&#x8DEF;&#x5F84;</li>
<li>&#x8F93;&#x5165;techgit&#x7684;&#x8D26;&#x53F7;&#x5BC6;&#x7801;</li>
<li>&#x62C9;&#x53D6;&#x6210;&#x529F;</li>
</ul>
<h4 id="&#x6587;&#x6863;&#x7F16;&#x8F91;">&#x6587;&#x6863;&#x7F16;&#x8F91; </h4>
<ul>
<li>&#x4E0B;&#x8F7D;Gitbook&#x5BA2;&#x6237;&#x7AEF;&#xFF1A;
<a href="https://legacy.gitbook.com/editor" target="_blank">https://github.com/GitbookIO/editor-legacy/releases</a></li>
<li>&#x6253;&#x5F00;Gitbook&#x5BA2;&#x6237;&#x7AEF;&#x540E;&#xFF0C;&#x53EF;&#x4EE5;&#x4E0D;&#x7528;&#x767B;&#x9646;&#xFF0C;&#x76F4;&#x63A5;&#x70B9;&#x51FB;do that later</li>
<li>&#x70B9;&#x51FB;&#x5DE6;&#x4E0A;&#x89D2;GitBokk Editor-
&gt;
import&#xFF0C;&#x9009;&#x62E9;git&#x4E2D;&#x4FDD;&#x5B58;&#x62C9;&#x53D6;&#x6587;&#x4EF6;&#x7684;&#x76EE;&#x5F55;</li>
<li>&#x6253;&#x5F00;&#x5E76;&#x5F00;&#x59CB;&#x7F16;&#x8F91;</li>
</ul>
<h4 id="&#x6587;&#x6863;&#x4E0A;&#x4F20;">&#x6587;&#x6863;&#x4E0A;&#x4F20; </h4>
<ul>
<li><p>&#x5728;Gitbook&#x4E2D;&#x7F16;&#x8F91;&#x5B8C;&#x540E;&#xFF0C;&#x70B9;&#x51FB;&#x53F3;&#x4E0A;&#x89D2;save</p>
</li>
<li><p>&#x586B;&#x5199;commit&#x4FE1;&#x606F;</p>
</li>
</ul>
<blockquote>
<p>Gitbook&#x4F1A;&#x9ED8;&#x8BA4;commit&#x4FE1;&#x606F;&#x4F1A;&#x5BFC;&#x81F4;Gitlab&#x4E2D;&#x7684;&#x66F4;&#x65B0;&#x5386;&#x53F2;&#x65E0;&#x4EFB;&#x4F55;&#x4FE1;&#x606F;&#xFF0C;&#x5EFA;&#x8BAE;&#x66F4;&#x6539;Gitbook&#x9ED8;&#x8BA4;&#x8BBE;&#x7F6E;&#xFF0C;&#x6309;&#x89C4;&#x8303;&#x586B;&#x5199;&#x8BE6;&#x7EC6;commit&#x4FE1;&#x606F;&#x3002;</p>
<p>&#x66F4;&#x6539;&#x8BBE;&#x7F6E;&#x9700;&#x8981;&#x70B9;&#x51FB;&#x5DE6;&#x4E0A;&#x89D2;GitBook Edior-&gt;Preference-&gt;git-&gt;&#x5173;&#x6389;automatically generate commit message</p>
</blockquote>
<ul>
<li>&#x70B9;&#x51FB;&#x53F3;&#x4E0A;&#x89D2;&#x51FA;&#x73B0;&#x7684;PUSH&#x6309;&#x94AE;&#x63D0;&#x4EA4;&#x66F4;&#x65B0;</li>
</ul>
<h1 id="&#x534F;&#x540C;&#x65B9;&#x6CD5;&#x4E8C;">&#x534F;&#x540C;&#x65B9;&#x6CD5;&#x4E8C; </h1>
<hr>
<h4 id="&#x6587;&#x6863;&#x62C9;&#x53D6;">&#x6587;&#x6863;&#x62C9;&#x53D6; </h4>
<h5 id="1-&#x5B89;&#x88C5;git">1. &#x5B89;&#x88C5;Git </h5>
<p>&#x53C2;&#x8003;<a href="https://git-scm.com/book/zh/v1/%E8%B5%B7%E6%AD%A5-%E5%AE%89%E8%A3%85-Git" target="_blank">https://git-scm.com/book/zh/v1/&#x8D77;&#x6B65;-&#x5B89;&#x88C5;-Git</a>&#xFF0C;mac&#x4E0A;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x4F7F;&#x7528;&#x7EC8;&#x7AEF;terminal&#x4E0A;&#x8F93;&#x5165;&#x547D;&#x4EE4;&#x5B89;&#x88C5;</p>
<pre><code>$ git
</code></pre><h5 id="2-&#x5207;&#x6362;&#x5230;&#x9879;&#x76EE;&#x6587;&#x4EF6;&#x76EE;&#x5F55;">2. &#x5207;&#x6362;&#x5230;&#x9879;&#x76EE;&#x6587;&#x4EF6;&#x76EE;&#x5F55; </h5>
<p>&#x4E3E;&#x4F8B;/Users/lwx/project&#xFF0C;&#x8BF7;&#x6539;&#x6210;&#x81EA;&#x5DF1;&#x521B;&#x5EFA;&#x7684;&#x9879;&#x76EE;&#x6587;&#x4EF6;&#x76EE;&#x5F55;</p>
<pre><code>$ cd /Users/lwx/project
</code></pre><h5 id="3-&#x914D;&#x7F6E;&#x4ED3;&#x5E93;">3. &#x914D;&#x7F6E;&#x4ED3;&#x5E93; </h5>
<p>&#x521D;&#x59CB;&#x5316;&#x65B0;&#x7684;&#x4ED3;&#x5E93;</p>
<pre><code>$ git init
</code></pre><p>&#x5728;&#x4ED3;&#x5E93;&#x4E2D;&#x62C9;&#x53D6;gitlab&#x9879;&#x76EE;&#x6587;&#x4EF6;&#xFF0C;&#x7F8E;&#x56FE;&#x6D4F;&#x89C8;&#x5668;&#x9700;&#x6C42;&#x6587;&#x6863;&#x9879;&#x76EE;&#x5730;&#x5740;&#x662F;&#xFF1A;<a href="http://techgit.meitu.com/meios-bro/prd" target="_blank">http://techgit.meitu.com/meios-bro/prd</a></p>
<pre><code>$ git remote add origin http://techgit.meitu.com/meios-bro/prd
</code></pre><p>&#x547D;&#x4EE4;&#x6267;&#x884C;&#x540E;&#x4F1A;&#x63D0;&#x793A;&#x8F93;&#x5165;OA&#x4E0A;&#x7533;&#x8BF7;&#x7684;techgit&#x8D26;&#x53F7;&#x548C;&#x5BC6;&#x7801;</p>
<h5 id="4-&#x62C9;&#x53D6;&#x6210;&#x529F;">4. &#x62C9;&#x53D6;&#x6210;&#x529F; </h5>
<h4 id="&#x6587;&#x6863;&#x7F16;&#x8F91;">&#x6587;&#x6863;&#x7F16;&#x8F91; </h4>
<ul>
<li>&#x4E0B;&#x8F7D;&#x5176;&#x4ED6;MarkDown&#x7F16;&#x8F91;&#x5DE5;&#x5177;&#xFF0C;&#x9700;&#x8981;&#x81EA;&#x5DF1;&#x7F16;&#x5199;&#x76EE;&#x5F55;&#x7B49;&#xFF0C;&#x4EC5;&#x9650;&#x719F;&#x6089;gitbook&#x548C;markdown&#x7684;&#x540C;&#x5B66;</li>
</ul>
<h4 id="&#x6587;&#x6863;&#x4E0A;&#x4F20;">&#x6587;&#x6863;&#x4E0A;&#x4F20; </h4>
<p>1.&#x4F7F;&#x7528;git&#x547D;&#x4EE4;&#x63D0;&#x4EA4;</p>
<pre><code>$ git commit -am &quot;commit&#x4FE1;&#x606F;&quot;
</code></pre><p>2.&#x63A8;&#x9001;&#x81F3;&#x4ED3;&#x5E93;</p>
<pre><code>$ git push origin master
</code></pre><hr>
<p>&#x5982;&#x679C;&#x770B;&#x5B8C;&#x6559;&#x7A0B;&#xFF0C;&#x4EFB;&#x4F55;&#x7591;&#x95EE;&#x8BF7;&#x8054;&#x7CFB;&#xFF1A;</p>
<ul>
<li>&#x4F01;&#x4E1A;&#x5FAE;&#x4FE1;&#xFF1A;&#x5218;&#x5A01;&#x96C4;</li>
<li>&#x90AE;&#x7BB1;&#xFF1A;lwx1@meitu.com</li>
</ul>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="./" class="navigation navigation-prev " aria-label="Previous page: 文档说明">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="wen-dang-gui-fan.html" class="navigation navigation-next " aria-label="Next page: 文档规范">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"编辑协同","level":"1.2","depth":1,"next":{"title":"文档规范","level":"1.3","depth":1,"path":"wen-dang-gui-fan.md","ref":"wen-dang-gui-fan.md","articles":[]},"previous":{"title":"文档说明","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"bian-ji-xie-tong.md","mtime":"2018-12-04T06:35:22.580Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-04T06:37:10.951Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

